package com.deer.wms.system.manage.service.impl;

import com.deer.wms.project.root.service.SuperServiceImpl;
import com.deer.wms.system.manage.dao.DataDictDetailMapper;
import com.deer.wms.system.manage.model.DataDictDetail;
import com.deer.wms.system.manage.model.DataDictDetailCriteria;
import com.deer.wms.system.manage.service.DataDictDetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

/**
 *
 * @author wei
 * @date 2019/11/25
 */
@Service
@Transactional
public class DataDictDetailServiceImpl extends SuperServiceImpl<DataDictDetailMapper, DataDictDetail> implements DataDictDetailService {

    @Autowired
    private DataDictDetailMapper dataDictDetailMapper;



    @Override
    public List<DataDictDetail> findList(DataDictDetailCriteria criteria) {
        return dataDictDetailMapper.findList(criteria);
    }


    @Override
    public List<DataDictDetail> findBydDataDictCode(String dataDictCode) {
        return dataDictDetailMapper.findBydDataDictCode(dataDictCode);
    }


}
